<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/blog/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/blog/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/blog/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/blog/images/logo.svg" color="#222">

<link rel="stylesheet" href="/blog/css/main.css">


<link rel="stylesheet" href="/blog/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"dttx123.gitee.io","root":"/blog/","scheme":"Gemini","version":"8.0.0-rc.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="标签的内容属性 innerText和innerHTML属性都是用来获取和设置标签的内容的。但是二者还是有区别的。   innerHTML可以用于获取和设置标签的所有内容，包括标签和文本内容  123&#x2F;&#x2F; innerHTML:内部的HTML&#x2F;&#x2F;  获取标签内容的时候，不管标签还是文本，都能获取到&#x2F;&#x2F;  innerHTML设置内容的时候，覆盖">
<meta property="og:type" content="article">
<meta property="og:title" content="webAPI 02">
<meta property="og:url" content="http://dttx123.gitee.io/2016/07/03/webAPI/02/index.html">
<meta property="og:site_name" content="Starry Night">
<meta property="og:description" content="标签的内容属性 innerText和innerHTML属性都是用来获取和设置标签的内容的。但是二者还是有区别的。   innerHTML可以用于获取和设置标签的所有内容，包括标签和文本内容  123&#x2F;&#x2F; innerHTML:内部的HTML&#x2F;&#x2F;  获取标签内容的时候，不管标签还是文本，都能获取到&#x2F;&#x2F;  innerHTML设置内容的时候，覆盖">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2016-07-02T16:00:00.000Z">
<meta property="article:modified_time" content="2020-05-13T03:25:06.011Z">
<meta property="article:author" content="大春哥">
<meta property="article:tag" content="dom操作">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://dttx123.gitee.io/2016/07/03/webAPI/02/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>webAPI 02 | Starry Night</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
        <span class="toggle-line toggle-line-first"></span>
        <span class="toggle-line toggle-line-middle"></span>
        <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/blog/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">Starry Night</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">这就朕为你打下的江山</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/blog/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/blog/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/blog/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/blog/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/blog/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://dttx123.gitee.io/2016/07/03/webAPI/02/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/blog/images/avatar.jpg">
      <meta itemprop="name" content="大春哥">
      <meta itemprop="description" content="IT">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Starry Night">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          webAPI 02
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2016-07-03 00:00:00" itemprop="dateCreated datePublished" datetime="2016-07-03T00:00:00+08:00">2016-07-03</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-05-13 11:25:06" itemprop="dateModified" datetime="2020-05-13T11:25:06+08:00">2020-05-13</time>
              </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="标签的内容属性"><a href="#标签的内容属性" class="headerlink" title="标签的内容属性"></a>标签的内容属性</h1><blockquote>
<p>innerText和innerHTML属性都是用来获取和设置标签的内容的。但是二者还是有区别的。</p>
</blockquote>
<blockquote>
<p>innerHTML可以用于获取和设置标签的所有内容，包括标签和文本内容</p>
</blockquote>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F; innerHTML:内部的HTML</span><br><span class="line">&#x2F;&#x2F;  获取标签内容的时候，不管标签还是文本，都能获取到</span><br><span class="line">&#x2F;&#x2F;  innerHTML设置内容的时候，覆盖原来内容，标签也能生效，浏览器能解析这个标签。</span><br></pre></td></tr></table></figure>

<blockquote>
<p>innerText可以用于获取和设置标签的文本内容，会丢弃掉标签</p>
</blockquote>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;innerText:内部文本</span><br><span class="line">&#x2F;&#x2F;  获取标签内容的时候，只会获取文本，标签扔掉了</span><br><span class="line">&#x2F;&#x2F;  设置标签内容的时候，覆盖原来内容，对标签进行转义（目的：把标签直接当文本来用）</span><br></pre></td></tr></table></figure>

<p>二者的区别：</p>
<ul>
<li>innerHTML能够识别标签，标签能够生效</li>
<li>innerText只识别文本，标签会被转义</li>
</ul>
<h2 id="案例：美女相册"><a href="#案例：美女相册" class="headerlink" title="案例：美女相册"></a>案例：美女相册</h2><h1 id="表单属性操作"><a href="#表单属性操作" class="headerlink" title="表单属性操作"></a>表单属性操作</h1><blockquote>
<p>常见的表单属性有：disabled、type、value、checked、selected</p>
</blockquote>
<p>对于disabled、checked、selected三个属性来说，比较特殊。</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">在标签中，只要指定了disabled属性，无论有值没值，都代表这个input是被禁用的。注意，标签的disabled仅仅是默认值。</span><br><span class="line">在DOM对象中，disabled的属性是一个布尔类型的属性，值只有<span class="literal">true</span>或者<span class="literal">false</span></span><br></pre></td></tr></table></figure>

<p>【案例：禁用文本框.html】</p>
<p>【案例：设置下拉框选中.html】</p>
<p>【案例：仿京东搜索文本框案例.html】</p>
<p>获得焦点与失去焦点案例</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">onfocus:获得焦点时触发</span><br><span class="line">onblur:失去焦点时触发</span><br></pre></td></tr></table></figure>

<p>【案例：表格全选案例.html】</p>
<h1 id="样式操作（style属性）"><a href="#样式操作（style属性）" class="headerlink" title="样式操作（style属性）"></a>样式操作（style属性）</h1><blockquote>
<p>标签不仅可以通过class属性操作样式，还可以通过style属性操作样式。同样的DOM对象可以通过className操作样式，也可以通过style属性操作样式。</p>
</blockquote>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//1. style属性是一个对象，里面存储了所有行内样式对应的键值对。</span></span><br><span class="line"><span class="comment">//2. 如果样式的名字带了-，比如background-color,到了style对象中，变成了驼峰命名法，backgroundColor（因为-在js中不是一个合法的标识符）</span></span><br><span class="line"><span class="comment">//3. style属性只能获取和设置行内样式，在类样式中定义的样式通过style获取不到。</span></span><br></pre></td></tr></table></figure>

<p><strong>style设置的样式是行内样式，因此优先级要高于className设置的样式</strong></p>
<h2 id="document常用属性："><a href="#document常用属性：" class="headerlink" title="document常用属性："></a>document常用属性：</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="number">1.</span> <span class="built_in">document</span>.body  : body比较常用，并且在页面中时唯一的，因此可以使用<span class="built_in">document</span>.body直接获取。</span><br><span class="line"><span class="number">2.</span> <span class="built_in">document</span>.documentElement  : 可以获取html元素</span><br><span class="line"><span class="number">3.</span> <span class="built_in">document</span>.head :  可以直接获取head元素</span><br><span class="line"><span class="number">4.</span> <span class="built_in">document</span>.title :  可以直接获取title的文本</span><br></pre></td></tr></table></figure>

<p>【案例：百度换肤】</p>
<h1 id="tab栏案例"><a href="#tab栏案例" class="headerlink" title="tab栏案例"></a>tab栏案例</h1><blockquote>
<p>排他思想：干掉所有人，复活我自己</p>
</blockquote>
<p>【案例：排他思想.html】</p>
<p>【案例：获取当前元素的索引.html】</p>
<p>【案例：tab栏切换.html】</p>
<h1 id="获取元素的方法"><a href="#获取元素的方法" class="headerlink" title="获取元素的方法"></a>获取元素的方法</h1><h2 id="根据id获取"><a href="#根据id获取" class="headerlink" title="根据id获取"></a>根据id获取</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//参数：元素的id</span></span><br><span class="line"><span class="comment">//返回值：一个元素，如果id不存在，返回null</span></span><br><span class="line"><span class="built_in">document</span>.getElementById(<span class="string">"id"</span>);</span><br></pre></td></tr></table></figure>

<h2 id="根据标签名获取"><a href="#根据标签名获取" class="headerlink" title="根据标签名获取"></a>根据标签名获取</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//参数：标签名</span></span><br><span class="line"><span class="comment">//返回值：伪数组，无论有几个元素，返回都是伪数组</span></span><br><span class="line"><span class="built_in">document</span>.getElementsByTagName(<span class="string">"tagName"</span>);</span><br><span class="line">box.getElementsByTagName(<span class="string">"tagName"</span>);</span><br></pre></td></tr></table></figure>

<h2 id="根据类名获取"><a href="#根据类名获取" class="headerlink" title="根据类名获取"></a>根据类名获取</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//参数：字符串类型的类名</span></span><br><span class="line"><span class="comment">//返回值：伪数组</span></span><br><span class="line"><span class="built_in">document</span>.getElementsByClassName(<span class="string">"class"</span>)</span><br></pre></td></tr></table></figure>

<p><strong>注意：这个方法ie678不支持</strong></p>
<h2 id="根据name获取"><a href="#根据name获取" class="headerlink" title="根据name获取"></a>根据name获取</h2><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//只适用于表单元素</span></span><br><span class="line"><span class="keyword">var</span> ps = <span class="built_in">document</span>.getElementsByName(<span class="string">"aa"</span>);</span><br></pre></td></tr></table></figure>

<h2 id="根据css选择器获取"><a href="#根据css选择器获取" class="headerlink" title="根据css选择器获取"></a>根据css选择器获取</h2><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//参数：是一个css选择器，，   如果是类选择器，  .demo   如果是id选择器：  #aa</span></span><br><span class="line"><span class="comment">//返回值：只会返回一个对象，如果有很多个，会返回第一个</span></span><br><span class="line">document.querySelector();</span><br><span class="line"></span><br><span class="line"><span class="comment">//参数：是一个css选择器</span></span><br><span class="line"><span class="comment">//返回值：会返回伪数组，不管有多少个，都会返回伪数组</span></span><br><span class="line">document.querySelectorAll();</span><br></pre></td></tr></table></figure>



<h1 id="标签的自定义属性"><a href="#标签的自定义属性" class="headerlink" title="标签的自定义属性"></a>标签的自定义属性</h1><blockquote>
<p>我们之前讨论的属性，都是HTML规范中，标签本来就有的属性，对于标签自定义的一些属性，比较特殊。</p>
</blockquote>
<p>在html页面中，定义一个自定义属性</p>
<figure class="highlight html"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">div</span> <span class="attr">id</span>=<span class="string">"box"</span> <span class="attr">aa</span>=<span class="string">"bb"</span>&gt;</span><span class="tag">&lt;/<span class="name">div</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p>在对应的DOM对象中是不存在的，在DOM对象中只会存在固定的那些属性。</p>
<figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> box = <span class="built_in">document</span>.getElementById(<span class="string">"box"</span>);</span><br><span class="line"><span class="built_in">console</span>.log(box.aa);<span class="comment">//undefined</span></span><br></pre></td></tr></table></figure>

<p><strong>attribute方法</strong></p>
<blockquote>
<p>attribute系列方法用于设置标签的属性，不管是自定义的还是固有的属性。</p>
</blockquote>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F;获取标签的属性</span><br><span class="line">box.getAttribute(name);</span><br><span class="line">&#x2F;&#x2F;设置标签的属性</span><br><span class="line">box.setAttribute(name, value);</span><br><span class="line">&#x2F;&#x2F;移除标签的属性</span><br><span class="line">box.removeAttribute(name);</span><br></pre></td></tr></table></figure>


    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/blog/tags/dom%E6%93%8D%E4%BD%9C/" rel="tag"># dom操作</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/blog/2016/06/13/webAPI/01/" rel="prev" title="webAPI 01">
      <i class="fa fa-chevron-left"></i> webAPI 01
    </a></div>
      <div class="post-nav-item">
    <a href="/blog/2016/08/07/webAPI/03/" rel="next" title="webAPI03">
      webAPI03 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#标签的内容属性"><span class="nav-text">标签的内容属性</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#案例：美女相册"><span class="nav-text">案例：美女相册</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#表单属性操作"><span class="nav-text">表单属性操作</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#样式操作（style属性）"><span class="nav-text">样式操作（style属性）</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#document常用属性："><span class="nav-text">document常用属性：</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#tab栏案例"><span class="nav-text">tab栏案例</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#获取元素的方法"><span class="nav-text">获取元素的方法</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#根据id获取"><span class="nav-text">根据id获取</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#根据标签名获取"><span class="nav-text">根据标签名获取</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#根据类名获取"><span class="nav-text">根据类名获取</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#根据name获取"><span class="nav-text">根据name获取</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#根据css选择器获取"><span class="nav-text">根据css选择器获取</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#标签的自定义属性"><span class="nav-text">标签的自定义属性</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="大春哥"
      src="/blog/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">大春哥</p>
  <div class="site-description" itemprop="description">IT</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/blog/archives/">
        
          <span class="site-state-item-count">35</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/blog/categories/">
          
        <span class="site-state-item-count">11</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/blog/tags/">
          
        <span class="site-state-item-count">17</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">大春哥</span>
</div>

        








      </div>
    </footer>
  </div>

  
  <script src="/blog/lib/anime.min.js"></script>
  <script src="/blog/lib/velocity/velocity.min.js"></script>
  <script src="/blog/lib/velocity/velocity.ui.min.js"></script>

<script src="/blog/js/utils.js"></script>

<script src="/blog/js/motion.js"></script>


<script src="/blog/js/schemes/pisces.js"></script>


<script src="/blog/js/next-boot.js"></script>




  




  
<script src="/blog/js/local-search.js"></script>













  

  

</body>
</html>
